package com.fresh.mapper;

import com.fresh.entity.ProIn;
import com.fresh.entity.ProInQO;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ChengPinMapper {

    List<ProIn> findPageInfoByCondition(ProInQO proInQO);

    @Insert("insert into pro_in values(#{proId},#{roNo},#{cgNo},#{riName},#{cgGname},#{roNum},#{proNum},#{proUname},#{proStorage},#{proIn},#{proEnd},1)")
    void insert(ProIn proIn);

    void update(ProIn proIn);
    void updatePro(ProIn proIn);

}
